﻿using System;
using System.Linq;
namespace HitchHikersGuideToTheGalaxy.Models
{
    public interface IDestinationRepository
    {
        // Default Add, Delete and save actions
        void Add(Destination destination);
        void Delete(Destination destination);
        void Save();

        // Querys
        IQueryable<Destination> FindAllDestinations();
        Destination GetDestination(int id);
        
    }
}
